<!-- イベント追加ダイアログ -->
<div id="dlg_evt_edit" style="visibility:hidden;position:absolute;top:0px;">
	<div class="x-window-header"><%= image_tag("/images/dlg_title_evt_edit.gif") %></div>
	<div class="x-window-body">
		<div class="dlg_maincontent">

	  <form name='dlg_evt_edit_form' id='dlg_evt_edit_form' enctype='multipart/form-data'>
	    <%= hidden_field_tag :dlg_evt_edit_base_id %>
	    <%= hidden_field :dlg_evt_edit_event, :id %>
	    <%= hidden_field :dlg_evt_edit_comp, :id %>
	    <%= hidden_field :dlg_evt_edit_comp, :project_id %>
	    <%= hidden_field :dlg_evt_edit_comp, :task_kbn %>
	    <span id="dlg_evt_edit_hidden_area">
	    </span>
    <table class="dlg_form_table" cellspacing="0">
      <tr>
        <th class="groupborder"><%= app_localized_message(:label, :event) %></th>
        <td class="groupborder">
          <%= text_field :dlg_evt_edit_comp, :item_name, :style => "width:100%;ime-mode:active;" %>
        </td>
      </tr>
      <tr>
        <th><%= app_localized_message(:label, :start_datetime) %></th>
        <td>
          <%= date_field :dlg_evt_edit_event, :start_date, :style => "width:80px;ime-mode:disabled;margin-bottom: 3px;", :maxlength => "10" %>
          <%= time_text_field :dlg_evt_edit_event, :start_time, :style => "width:80px;ime-mode:disabled;", :maxlength => "10" %>～
          <%= time_text_field :dlg_evt_edit_event, :end_time, :style => "width:80px;ime-mode:disabled;", :maxlength => "10" %>
        </td>
      </tr>
      <tr>
        <th><%= app_localized_message(:label, :place) %></th>
        <td>
          <%= text_field :dlg_evt_edit_event, :place, :style => "width:100%;ime-mode:active;" %>
        </td>
      </tr>
      <tr>
        <th class="groupborder"><%= app_localized_message(:label, :charge_user) %></th>
        <td class="groupborder">
          <%= image_tag("/images/btn/btn_select.gif", :id=>"dlg_evt_edit_euselect", :align=>"absmiddle") %>
          <span id="dlg_evt_edit_eventusers_user_name"></span>
        </td>
      </tr>
      <tr>
        <th class="groupborder"><%= app_localized_message(:label, :content) %></th>
        <td class="groupborder">
          <%= text_area :dlg_evt_edit_event, :content, :style=>"width:100%;", :rows=>5 %>
        </td>
      </tr>
      <tr>
        <th><%= app_localized_message(:label, :class_word1) %></th>
        <td>
          <%= text_field :dlg_evt_edit_comp, :class_word1, :style => "width:100%;ime-mode:active;" %>
        </td>
      </tr>
      <tr>
        <th><%= app_localized_message(:label, :class_word2) %></th>
        <td>
          <%= text_field :dlg_evt_edit_comp, :class_word2, :style => "width:100%;ime-mode:active;" %>
        </td>
      </tr>
      <tr>
        <th><%= app_localized_message(:label, :class_word3) %></th>
        <td>
          <%= text_field :dlg_evt_edit_comp, :class_word3, :style => "width:100%;ime-mode:active;" %>
        </td>
      </tr>
    </table>
    </form>
  </div>
  <div class="dlg_bottom" style="text-align:right;">
    <%= image_tag("/images/btn/btn_destroy.gif", {:alt=>app_localized_message(:label, :btn_destroy), :id=>"dlg_evt_edit_destroy"}) %>
    <%= image_tag("/images/btn/btn_save.gif", {:alt=>app_localized_message(:label, :btn_save), :id=>"dlg_evt_edit_save"}) %>
    <%= image_tag("/images/btn/btn_close.gif", {:alt=>app_localized_message(:label, :btn_close), :id=>"dlg_evt_edit_close"}) %>
  </div>
</div>
</div>
